package com.blqy.fr.template.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.blqy.fr.model.template.Template;
import com.blqy.fr.vo.template.TemplateResponseVo;
import com.blqy.fr.vo.template.TemplateVo;
import jakarta.validation.Valid;

import java.util.List;

public interface TemplateInfoService extends IService<Template> {
    List<TemplateVo> getTemplateInfo(String templateName);

    TemplateResponseVo getTemplateStructure(String templateName);

    void updateTemplateStructure(@Valid TemplateResponseVo request);

    Long getTemplateIdByTeamId(Long teamId);
    TemplateResponseVo getTemplateStructure(String templateName, Long teamId);

    String getTemplateNameByTeamId(Long teamId);
}
